import request from '@/plugins/request';
// 医生列表
export function doctorsList(data) {
    return request({
      url: "/v1/buss/doctors/index",
      method: "get",
      params: data,
    });
}
  
  //新增、更新医生
export function createDoctors(data) {
    return request({
        url: "/v1/buss/doctors/update-doctors",
        method: "post",
        data,
    });
}

//删除医生
export function deleteDoctors(data) {
    return request({
        url: "/v1/buss/doctors/delete-doctors",
        method: "post",
        data,
    });
}
// 医生下拉详情
export function doctorsCondition(data) {
    return request({
      url: "/v1/buss/doctors/info",
      method: "get",
      params: data,
    });
}